package com.market.po;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Result implements Serializable {
    private List Message;
    private String status = "1";
    private String Toast;
    private Long total;

    public String getToast() {
        return Toast;
    }

    public void setToast(String toast) {
        Toast = toast;
    }

    public Result() {
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public void setItems(Object o) {
        this.Message = new ArrayList();
        Message.add(o);
    }

    public Result(String status) {
        this.status = status;
    }

    public List getMessage() {
        return Message;
    }

    public void setMessage(List message) {
        Message = message;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
